package com.wmz.crm.workbench.mapper;

import com.wmz.crm.workbench.entity.TranHistory;

import java.util.List;

public interface TranHistoryMapper {
    int deleteByPrimaryKey(String id);

    int insert(TranHistory row);

    int insertSelective(TranHistory row);

    TranHistory selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TranHistory row);

    int updateByPrimaryKey(TranHistory row);

    //保存交易历史
    int insertTranHistory(TranHistory tranHistory);

    //根据tranId查询交易历史明细信息
    List<TranHistory> selectTranHistoryForDetailByTranId(String tranId);
}
